﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace _2016_12_15_ClassWork
{
    class Program
    {
        static void Main(string[] args)
        {
            DateTime date = DateTime.Now;
            Console.WriteLine(date.ToShortDateString());
            Console.WriteLine(date.ToShortTimeString());
            Console.WriteLine(date.ToLongDateString());
            Console.WriteLine(date.ToLongTimeString());
            Console.WriteLine(date.Hour);
            Console.WriteLine(DateTimeOffset.UtcNow);
            Console.WriteLine(DateTimeOffset.Now);
            Console.WriteLine();

            Human hm = new Human();
            Console.WriteLine(hm);
            Console.WriteLine(date.ToString("yyyy-M-dd"));
        }
    }
}
